# coding=utf8

__author__ = "zouxiaoliang"


class Person(object):
    def __init__(self, username, age, sex):
        self.__username = username
        self.__age = age
        self.__sex = sex
        pass

    def age(self):
        return self.__age

    def is_boy(self):
        return self.__sex == "boy"

    def name(self):
        return self.__username

    def __str__(self):
        return "大家好,我是%s, 今年%d岁了" % (self.name(), self.age())

if __name__ == '__main__':

    bug = Person("zouxiaoliang", 26, "boy")
    print bug
    pass
